import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, renderSlot } from "vue";
var index_vue_vue_type_style_index_0_scoped_true_lang = "";
var _export_sfc = (sfc, props) => {
  const target = sfc.__vccOpts || sfc;
  for (const [key, val] of props) {
    target[key] = val;
  }
  return target;
};
const _sfc_main = /* @__PURE__ */ defineComponent({
  props: {
    type: {
      type: String,
      default: "primary"
    },
    underline: {
      type: Boolean,
      default: false
    }
  },
  emits: ["click"],
  setup(__props, { emit }) {
    return (_ctx, _cache) => {
      const _component_el_link = resolveComponent("el-link");
      return openBlock(), createBlock(_component_el_link, {
        class: "link",
        type: __props.type,
        underline: __props.underline,
        onClick: _cache[0] || (_cache[0] = ($event) => emit("click"))
      }, {
        default: withCtx(() => [
          renderSlot(_ctx.$slots, "default", {}, void 0, true)
        ]),
        _: 3
      }, 8, ["type", "underline"]);
    };
  }
});
var link = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-adc6110a"]]);
var index = {
  install(app) {
    app.component("bs-link", link);
  }
};
export { index as default };
